// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from "@/layout";

const jiangliRouter = {
  path: "/jiangli",
  component: Layout,
  redirect: "/jiangli/list",
  name: "jiangli",
  alwaysShow: true,
  meta: {
    title: "奖励",
    icon: "clipboard"
  },
  children: [
    {
      path: "list",
      component: () => import("@/views/dashboard/jiangli/list"),
      name: "jianglilist",
      meta: { title: "奖励列表" }
    },
    {
      path: "set",
      component: () => import("@/views/dashboard/jiangli/set"),
      name: "jiangliset",
      meta: { title: "奖励设置" }
    },
    {
      path: "view",
      component: () => import("@/views/dashboard/jiangli/view"),
      name: "jiangliview",
      meta: { title: "用户浏览列表" }
    },
    {
      path: "done",
      component: () => import("@/views/dashboard/jiangli/done"),
      name: "jianglidone",
      meta: { title: "用户完成列表" }
    },
  ]
};

export default jiangliRouter;
